#ifndef SKYROAD_CRASH_DUMPER_H 
#define SKYROAD_CRASH_DUMPER_H

#ifdef _WIN32
#include <windows.h>
#include <dbghelp.h>
#include <skyroad/detail/config.hpp>

class SKYROAD_DECL crash_dumper 
{
private:
	static LPTOP_LEVEL_EXCEPTION_FILTER oldExceptionFilter_;
public:
	static void dump(PEXCEPTION_POINTERS pExceptionInfo);
	static void initialize();
};

#endif // _WIN32

#endif


